package ynu.edu.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ynu.edu.order.domain.dto.LogisticsFormDTO;
import ynu.edu.order.domain.po.OrderLogistics;
import ynu.edu.order.domain.vo.OrderLogisticsVO;

public interface IOrderLogisticsService extends IService<OrderLogistics> {

    /**
     * 创建订单物流信息
     */
    void createLogistics(Long orderId, LogisticsFormDTO logisticsFormDTO);

    /**
     * 更新物流信息
     */
    void updateLogistics(Long orderId, LogisticsFormDTO logisticsFormDTO);

    /**
     * 查询订单物流信息
     */
    OrderLogisticsVO queryLogistics(Long orderId);

    /**
     * 删除物流信息
     */
    void deleteLogistics(Long orderId);
}
